﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Zero.Core;

namespace Zero.Web.ViewModels
{
    public class DetailViewModel<T>
    {
        public T Model { get; set; }
        public bool IsAdd { get; set; }
        public bool IsEdit { get; set; }
        public bool IsView { get; set; }
        public string OpMethod { get; set; }
        public DetailViewModel()
        {
            IsAdd = false;
            IsEdit = false;
            IsView = false;
        }

    }
}